package com.ruoyi.syf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.syf.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("隐患整改验收表")
public class RiskCheckDangerDetect extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "隐患ID")
    private Long dangerId;

    @ApiModelProperty(value = "整改ID")
    private Long fixId;

    @ApiModelProperty(value = "最终验收人")
    private Long actualDetectBy;

    @ApiModelProperty(value = "验收情况")
    private String detectDescribe;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "验收时间")
    private Date detectTime;

    @ApiModelProperty(value = "照片")
    private String photograph;

    @ApiModelProperty(value = "验收状态:0待验收，1验收未通过，2验收通过,3回退")
    private String detectStatus;

}
